package com.yserp.api.baseapi;

import java.io.Serializable;
import java.util.Date;

/**
 * 表SYS_USER_ORG数据库Bean.
 */
public class TSysUserOrgBean implements Serializable {
    /**
     * .
     */
    private String id;

    /**
     * 用户ID.
     */
    private String userId;

    /**
     * 机构ID.
     */
    private String orgId;

    /**
     * 职位ID.
     */
    private String postId;

    /**
     *  创建人登录名.
     */
    private String creatorLoginName;

    /**
     * 创建时间.
     */
    private Date createTime;

    /**
     * 修改人登录名.
     */
    private String modifierLoginName;

    /**
     * 修改时间.
     */
    private Date modifyTime;

    /**
     * 修改时间.
     */
    private Date modifyTimeParam;

    /**
     * 删除标示：1-正常；2-删除.
     */
    private Short delFlag;
    private String isLeader;

    public String getIsLeader() {
		return isLeader;
	}

	public void setIsLeader(String isLeader) {
		this.isLeader = isLeader;
	}

	private static final long serialVersionUID = 1L;

    /**
     * (ID)get方法.
     */
    public String getId() {
        return id;
    }

    /**
     * (ID)set方法.
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 用户ID(USER_ID)get方法.
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 用户ID(USER_ID)set方法.
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 机构ID(ORG_ID)get方法.
     */
    public String getOrgId() {
        return orgId;
    }

    /**
     * 机构ID(ORG_ID)set方法.
     */
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    /**
     * 职位ID(POST_ID)get方法.
     */
    public String getPostId() {
        return postId;
    }

    /**
     * 职位ID(POST_ID)set方法.
     */
    public void setPostId(String postId) {
        this.postId = postId;
    }

    /**
     *  创建人登录名(CREATOR_LOGIN_NAME)get方法.
     */
    public String getCreatorLoginName() {
        return creatorLoginName;
    }

    /**
     *  创建人登录名(CREATOR_LOGIN_NAME)set方法.
     */
    public void setCreatorLoginName(String creatorLoginName) {
        this.creatorLoginName = creatorLoginName;
    }

    /**
     * 创建时间(CREATE_TIME)get方法.
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间(CREATE_TIME)set方法.
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 修改人登录名(MODIFIER_LOGIN_NAME)get方法.
     */
    public String getModifierLoginName() {
        return modifierLoginName;
    }

    /**
     * 修改人登录名(MODIFIER_LOGIN_NAME)set方法.
     */
    public void setModifierLoginName(String modifierLoginName) {
        this.modifierLoginName = modifierLoginName;
    }

    /**
     * 修改时间(MODIFY_TIME)get方法.
     */
    public Date getModifyTime() {
        return modifyTime;
    }

    /**
     * 修改时间(MODIFY_TIME)get方法.
     */
    public Date getModifyTimeParam() {
        return modifyTimeParam;
    }

    /**
     * 修改时间(MODIFY_TIME)set方法.
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    /**
     * 修改时间(MODIFY_TIME)set方法.
     */
    public void setModifyTimeParam(Date modifyTimeParam) {
        this.modifyTimeParam = modifyTimeParam;
    }

    /**
     * 删除标示：1-正常；2-删除(DEL_FLAG)get方法.
     */
    public Short getDelFlag() {
        return delFlag;
    }

    /**
     * 删除标示：1-正常；2-删除(DEL_FLAG)set方法.
     */
    public void setDelFlag(Short delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", orgId=").append(orgId);
        sb.append(", postId=").append(postId);
        sb.append(", creatorLoginName=").append(creatorLoginName);
        sb.append(", createTime=").append(createTime);
        sb.append(", modifierLoginName=").append(modifierLoginName);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", delFlag=").append(delFlag);
        sb.append("]");
        return sb.toString();
    }
}